package com.wym.rbac.mapper;

import com.wym.rbac.domain.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface DepartmentMapper {
    Department selectById(Long id);
    List<Department> selectAll();
    int deleteById(Long id);
    int insert(Department department);
    int updateById(Department department);
    List<Department> queryForList();

}
